import 'lib/Wallet.dart';
main(){
  //1.创建钱包对象
Wallet wallet=new Wallet();
//2.存钱
wallet.saveMoney(100);
//2.2打印查看余额
wallet.printMoney();

//3.取钱
wallet.getMoney(50);
//4.打印余额
wallet.printMoney();
//5.尝试修改私有属性
//wallet._money=1000;//报错
//6.尝试调用私有方法
//wallet._printInfo();//报错

}